package poler.control.events
{
	import com.adobe.cairngorm.control.CairngormEvent;

	public class LoginEvent extends CairngormEvent
	{
		public static const EVENT_LOGIN:String = "LoginEvent";
		public var Un:String;
		public var Pw:String;
		public var Callback:Function;
		public var CustomErrorString:String
		
		public function LoginEvent(un:String,pw:String,callback:Function = null,errorString:String = null)
		{
			this.Un = un;
			this.Pw = pw;
			this.Callback = callback;
			this.CustomErrorString = errorString;
			super(LoginEvent.EVENT_LOGIN);	
		}
		
	}
}